import { Sequelize } from 'sequelize-typescript'
import { Jackpot } from './Jackpot'
import { JackpotRecord } from './JackpotRecord'
import { PrizePoolRecord } from './PrizePoolRecord'
import { SystemConfig } from './SystemConfig'

export const db = new Sequelize({
    dialect: 'mysql',
    host: '127.0.0.1',
    username: 'root1',
    password: 'ada15ffsf465s4wf',
    database: 'fj_game_xyc',
    logging: false,
    models: [Jackpot, JackpotRecord, PrizePoolRecord, SystemConfig],
})

export { Jackpot } from './Jackpot'
export { JackpotRecord } from './JackpotRecord'
export { PrizePoolRecord } from './PrizePoolRecord'
export { SystemConfig } from './SystemConfig'
